View Issue Details

IDProjectCategoryView StatusLast Update
0001577T99X171.00 SKB EaglexTS certificationpublic2023-04-11 13:41
Reporter(SW) Jason LingAssigned To(ALTech) Younkwang Jung Due Date
PrioritynormalSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001577: [Smart3][ATV12] Can not get ACTION_SCREEN_OFF intent
DescriptionHi YK,

We have one CTS-Verifier failure that related to middle ware,
The test item name is "Network Background Connectivity Test.

You can refer to the source code as follows,
https://android.googlesource.com/platform/cts/+/refs/tags/android-cts-12.0_r6/apps/CtsVerifier/src/com/android/cts/verifier/net/ConnectivityBackgroundTestActivity.java

During the test, we need to put the device to standby mode, and the test tool will wait for the "ACTION_SCREEN_OFF" intent. (please refer to the attachment)

As far as I know, the middle ware vendor modified the framework and changed the standby flow, so we can not get the "ACTION_SCREEN_OFF" intent correctly.

Please check it with the middle ware vendor.

Thanks,
Jason
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(SW) Jason Ling

2022-12-15 09:16

developer  

(ALTech) Younkwang Jung

2022-12-16 15:02

developer   ~0011500

Hi Jason

Please let me know the version information or build date of the FW you are testing.
I know that ACTION_SCREEN_OFF is a function in passive standby mode
and SPTEK has not yet applied this function to ATV12

Please let me know the build date so that I can check it again

Thank you
YK.Jung

(SW) Jason Ling

2022-12-16 18:23

developer   ~0011503

Hi YK,

The test firmware is built by myself.

I know that ACTION_SCREEN_OFF intent is only work in passive standby mode, so this will be a problem

Please refer to attachment, (gudie.jpg)
"This test verifies that IPV6 network connectivity continues to work when the screen is off or is idle for some time"
if our Device need to get ACTION_SCREEN_OFF, we should put our device in passive standby mode. At that time, the power of USB port is off, so the USB wifi dongle can not work normally.
=> wifi can not work after receiving ACTION_SCREEN_OFF intent.

Our other product that can receive "ACTION_SCREEN_OFF" intent in "Active Standby", so I ask SPTEK to check their standby flow.

Thanks,
Jason
guide.jpg (48,422 bytes)   
guide.jpg (48,422 bytes)   

(ALTech) Younkwang Jung

2022-12-19 10:26

developer   ~0011508

Hi Jason

I am not able to reproduce this as the my test environment now

I'm asking to make sure I understand correctly.
What you're saying is
When entering the "active" sleep state, the ACTION_SCREEN_OFF message must be delivered.
Or
when entering the "passive" sleep state, the USB wifi dongle must be activated.

is it correct?

Thank you
YK.Jung

(SW) Jason Ling

2022-12-19 10:48

developer   ~0011511

Hi YK,

I think this test can pass under "active" sleep mode, if we can receive ACTION_SCREEN_OFF Intent.

When entering the "active" sleep state, the ACTION_SCREEN_OFF message must be delivered. -> Yes

when entering the "passive" sleep state, the USB wifi dongle must be activated. -> I think this will have problem, because we want to save power, so we will turn off the power of USB in passive sleep mode.

The best case is put the device in active mode and SPTEK should review their "active" sleep mode, and let the system receive ACTION_SCREEN_OFF Intent.

Thanks,
Jason

(ALTech) Younkwang Jung

2022-12-19 12:22

developer   ~0011516

Hi Jason

I reported this mantis to SPTEK

https://jira.skbroadband.com/projects/FSTB12/issues/FSTB12-18

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-12-23 08:07

developer   ~0011551

HI Jason

SPTEK says the issue may have been resolved
https://jira.skbroadband.com/projects/FSTB12/issues/FSTB12-18

He is saying that he have confirmed that he receive the intent in another package.
Please check it

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-01-06 11:59

developer   ~0011689

Hi Jason

Please let me know the test result.

Thank you
YK.Jung

(SW) Jason Ling

2023-01-12 19:03

developer   ~0011754

Hi YK,

Our QA has verified this item, the result is PASS.
But they need to login SKB account to test it, because SKB block POWER Key in login page,

Do you know why SKB block power key in login page?

Thanks,
Jason

(ALTech) Younkwang Jung

2023-01-13 09:52

developer   ~0011765

Hi Jason

I'll ask the SKB manager about it.
as far as I remember, there was a problem with the operation of the power key.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-02-09 14:08

developer   ~0012084

Hi Jason

This test item has been passed, so I'll close it.

Thank you
YK.Jung

(SW) Jason Ling

2023-02-20 11:03

developer   ~0012255

Hi YK,

This test is not stable on our side,
The test require following steps,

Setp1. Connected WIFI ipv6
Step2. Power off
Setp3. Wait one min (Check if STB can receive ACTION_SCREEN_OFF intent)
Setp4. Power on

In Setp2, we need to use power key, so we should use Korean VPN to login SKB account to HomeUI
But in Setp1, we need ipv6 network, generic Korean VPN doesn't provide ipv6 network
so we should set persist.skb.mode = 1, then use Taiwan network.

After we changing to Taiwan network, I test it again.
in Setup 2.
if we press
Btv power -> STB can NOT go to standby mode, we don't see the OTA dialog -> I guess the root cause maybe we are under Taiwan network or the skb.mode is 1
General Power (red button) -> STB can go to standby but we need to wait about 15 seconds. and STB can not wake by this button, until we press it many times (Step 4).

For making it stable,
Could I ask Digicap to unlock the powerkey before logging into SKB UI when persist.sys.skb.mode 1
so that 3PL/Foxconn can test it with Taiwan network (ipv6)

If they can implement it, I think they can also unlock mute key (because ATV remote also need to verify mute key, I think we can verify it at this time)

Thanks,
Jason.




(ALTech) Younkwang Jung

2023-02-20 11:16

developer   ~0012256

HI Jason

I requested digicap again for the operation of the Mute / Power button on the login page.
https://jira.skbroadband.com/browse/FSTB12-92

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-02-21 13:49

developer   ~0012274

Hi Jason

When this function is enabled at login page, it also is applied during boot-up.
Digicap's opinion is that it is difficult to apply the power/mute button during booting because there is a high possibility of problems.

Thank you
YK.Jung

(SW) Jason Ling

2023-02-21 13:51

developer   ~0012275

Last edited: 2023-02-21 14:15

Hi YK,

Did you mean if Digicap unlock it, when we press power key at boot animation stage, Will the STB go to standby ?

I think they can check sys.boot_completed = 1 and persist.sys.skb.mode = 1
then unlock the power/mute

Thanks,
Jason

(ALTech) Younkwang Jung

2023-02-24 13:58

developer   ~0012367

HI Jason

I requested it to Digicap again
https://jira.skbroadband.com/projects/FSTB12/issues/FSTB12-92

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-02-28 10:34

developer   ~0012379

Hi Jason

I reported this issue to SKB again, but it is said that Digicap cannot simply enable the function.
that is , the function requested cannot be applied at this time.

anyway I will continue to report whenever I have a chance.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2023-04-11 12:27

developer   ~0012790

Hi Jason

Digicap reviewed it, and many resource modules are related and cannot be modified at login page
So the action for the Mute / Power button cannot be implemented on login page.

Thanks
YK.Jung

(SW) Jason Ling

2023-04-11 13:40

developer   ~0012796

Hi YK,

OK, I will close it.

Thanks,
Jason

Issue History

Date Modified Username Field Change
2022-12-15 09:16 (SW) Jason Ling New Issue
2022-12-15 09:16 (SW) Jason Ling Status new => assigned
2022-12-15 09:16 (SW) Jason Ling Assigned To => (ALTech) Younkwang Jung
2022-12-15 09:16 (SW) Jason Ling File Added: Network_Background_Connectivity_Test.jpg
2022-12-15 09:17 (SW) Jason Ling Issue Monitored: (SW) Kerwin Chen
2022-12-16 15:03 (ALTech) Younkwang Jung Note Added: 0011500
2022-12-16 18:23 (SW) Jason Ling Note Added: 0011503
2022-12-16 18:23 (SW) Jason Ling File Added: guide.jpg
2022-12-19 10:26 (ALTech) Younkwang Jung Note Added: 0011508
2022-12-19 10:48 (SW) Jason Ling Note Added: 0011511
2022-12-19 12:22 (ALTech) Younkwang Jung Note Added: 0011516
2022-12-23 08:05 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-12-23 08:05 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-12-23 08:07 (ALTech) Younkwang Jung Note Added: 0011551
2023-01-05 20:18 (SW) Jason Ling Category SW Issue => xTS certification
2023-01-06 11:59 (ALTech) Younkwang Jung Note Added: 0011689
2023-01-12 19:03 (SW) Jason Ling Note Added: 0011754
2023-01-13 08:43 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Younkwang Jung
2023-01-13 09:52 (ALTech) Younkwang Jung Note Added: 0011765
2023-02-09 14:08 (ALTech) Younkwang Jung Note Added: 0012084
2023-02-09 14:09 (ALTech) Younkwang Jung Status assigned => closed
2023-02-09 14:09 (ALTech) Younkwang Jung Resolution open => fixed
2023-02-20 11:03 (SW) Jason Ling Status closed => feedback
2023-02-20 11:03 (SW) Jason Ling Resolution fixed => reopened
2023-02-20 11:03 (SW) Jason Ling Note Added: 0012255
2023-02-20 11:16 (ALTech) Younkwang Jung Note Added: 0012256
2023-02-21 13:49 (ALTech) Younkwang Jung Note Added: 0012274
2023-02-21 13:51 (SW) Jason Ling Note Added: 0012275
2023-02-21 13:51 (SW) Jason Ling Status feedback => assigned
2023-02-21 14:15 (SW) Jason Ling Note Edited: 0012275
2023-02-24 13:58 (ALTech) Younkwang Jung Note Added: 0012367
2023-02-28 10:34 (ALTech) Younkwang Jung Note Added: 0012379
2023-04-11 12:27 (ALTech) Younkwang Jung Note Added: 0012790
2023-04-11 13:40 (SW) Jason Ling Status assigned => resolved
2023-04-11 13:40 (SW) Jason Ling Resolution reopened => fixed
2023-04-11 13:40 (SW) Jason Ling Note Added: 0012796
2023-04-11 13:41 (SW) Jason Ling Status resolved => closed